Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

+page.ts

6 lines153 Bytes

1import type { PageLoad } from './$types'
2​
3export const load: PageLoad = ({ params }) => {
4 const postId = parseInt(params.postId)
5 return { postId }
6}